/****************************************************************************/      
/* NAME:           Hal_InputManagement_Config.h                             */      
/* PURPOSE:        Manage all basic input and output                        */      
/* CREATED_BY:     Vyx                                                      */      
/* CREATION_DATE:  03/07/2012                                               */   
/************************************** (C) Copyright 2012 AquaLink *********/   

#ifdef STM32_CONFIG_1 /* STM32_CONFIG_1 */

/* add your config input in this table and respect the same order */
const Input_def_t InputConfigList[] = 
{
  {GPIO_E,  PIN_2,  MODE_PULL_DOWN},      /* OSMOLATOR_SENSOR_LOW     */ 
  {GPIO_E,  PIN_3,  MODE_PULL_DOWN},      /* OSMOLATOR_SENSOR_HIGH    */ 
  {GPIO_E,  PIN_4,  MODE_PULL_DOWN},      /* OSMOLATOR_SENSOR_RESERVE */
  {GPIO_E,  PIN_5,  MODE_PULL_DOWN},      /* OSMOLATOR_MANUAL_START   */
  {GPIO_A,  PIN_10, MODE_IN_FLOATING},    /* USART 1 TX               */
  {GPIO_B,  PIN_6,  MODE_PULL_DOWN},      /* SPI TSC2046 : PEN_IRQ    */
  {GPIO_A,  PIN_6,  MODE_PULL_DOWN}       /* SPI TSC2046 : MISO       */ 
};

#endif /* STM32_CONFIG_1 */

#ifdef STM32_CONFIG_2 /* STM32_CONFIG_2 */

/* add your config input in this table and respect the same order */
const Input_def_t InputConfigList[] = 
{
  {GPIO_E, PIN_2, MODE_PULL_DOWN},    /* OSMOLATOR_SENSOR_LOW     */ 
  {GPIO_E, PIN_3, MODE_PULL_DOWN},    /* OSMOLATOR_SENSOR_HIGH    */ 
  {GPIO_E, PIN_4, MODE_PULL_DOWN},    /* OSMOLATOR_SENSOR_RESERVE */
  {GPIO_E, PIN_5, MODE_PULL_DOWN},    /* OSMOLATOR_MANUAL_START   */
  {GPIO_A, PIN_10, MODE_IN_FLOATING}, /* USART 1 TX               */
  {GPIO_B, PIN_6, MODE_PULL_DOWN}     /* SPI TSC2046 : PEN_IRQ    */
};

#endif /* STM32_CONFIG_2 */
